package com.mzm.service;

import java.util.List;

import com.mzm.api.CategoryDto;
import com.mzm.domain.ProductInfo;
import com.mzm.domain.Recommendation;

public interface RecommendationManagementService {

	public Integer createProductInfo(String categoryPath, ProductInfo productInfo);

	public void deleteProductInfo(Integer productInfoId);

	public Integer createRecommendation(Integer productId, Recommendation recommendation);

	public void deleteRecommendation(Integer recommendationId);

	public void updateRecommendation(Recommendation r);

	Integer createCategory(String path);

	CategoryDto getCategoryTree();

	List<ProductInfo> getProductInfos(String path);

	List<Recommendation> getRecommendations(Integer productInfoId);

	List<Recommendation> getRecommendations(String path);
}
